---
id: "__module__"
keywords: ["module"]
name: "__MODULE__"
summary: "This is the `__MODULE__` special value."
category: "specialvalues"
---

`__MODULE__` returns the module name of the file. Note that it does not return the name of a nested module, though.

<CodeTab labels={["ReScript", "JS Output"]}>

```res example
__MODULE__->Console.log
```

```js
console.log("Testmodule");
```

</CodeTab>
